package com.six.backend.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: skyler
 * @Date: 2021/11/21 13:15
 */
@Data
@ApiModel("日志")
public class Log {

    @ApiModelProperty("日志名称")
    private String name;


    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("日志时间")
    private Date time;

    @ApiModelProperty("日志存放的地址")
    private String address;

    @ApiModelProperty("日志类型")
    private Integer type;
}
